home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1320 / 1320.xpi / chrome / gmanager.jar / content / overlay.xul < prev    next >
Extensible Markup Language  |  2010-01-22  |  3KB  |  82 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://gmanager/skin/overlay.css" type="text/css"?>
  4.  
  5. <!-- 
  6.   Gmail Manager
  7.   By Todd Long <longfocus@gmail.com>
  8.   http://www.longfocus.com/firefox/gmanager/
  9.  -->
  10.  
  11. <!DOCTYPE overlay SYSTEM "chrome://gmanager/locale/gmanager.dtd">
  12.  
  13. <overlay id="gmanager-overlay"
  14.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  15.         
  16.     <!-- Utilities -->
  17.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/accounts.js"/>
  18.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/alerts.js"/>
  19.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/bundle.js"/>
  20.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/prefs.js"/>
  21.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/sounds.js"/>
  22.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/utils.js"/>
  23.     
  24.     <!-- Overlay -->
  25.     <script type="application/x-javascript" src="chrome://gmanager/content/overlay.js"/>
  26.     <script type="application/x-javascript" src="chrome://gmanager/content/overlayToolbarClick.js"/>
  27.     <script type="application/x-javascript" src="chrome://gmanager/content/overlayToolbarMenu.js"/>
  28.     <script type="application/x-javascript" src="chrome://gmanager/content/overlayToolbarMove.js"/>
  29.     <script type="application/x-javascript" src="chrome://gmanager/content/overlayToolbarTooltip.js"/>
  30.     <script type="application/x-javascript">
  31.       <![CDATA[
  32.         window.addEventListener("load", gmanager_OverlayLoad, false);
  33.         window.addEventListener("unload", gmanager_OverlayUnload, false);
  34.         
  35.         var windowContent = window.document.getElementById("content");
  36.         windowContent.addEventListener("click", gmanager_ContentAreaClick, false);
  37.       ]]>
  38.     </script>
  39.     
  40.     <!-- Tools Menu -->
  41.     <menupopup id="menu_ToolsPopup">
  42.         <menu id="gmanager-tools-menu"
  43.             class="menuitem-iconic"
  44.             insertafter="devToolsSeparator"
  45.             label="&ext-name;">
  46.             
  47.             <menupopup onpopupshowing="return gmanager_ToolbarMenu.buildMenu(this);"/>
  48.         </menu>
  49.     </menupopup>
  50.     
  51.     <!-- Context Menu -->
  52.     <popup id="contentAreaContextMenu">
  53.         <menuseparator id="gmanager-context-menu-separator"/>
  54.         
  55.         <menu id="gmanager-context-menu"
  56.             label="&ext-name;">
  57.             
  58.             <menupopup onpopupshowing="return gmanager_ToolbarMenu.buildMenu(this);"/>
  59.         </menu>
  60.     </popup>
  61.     
  62.     <!-- Statusbar -->
  63.     <statusbar id="status-bar">
  64.         <statusbarpanel id="gmanager-toolbar-panel"
  65.                         class="gmanager-account-info"
  66.                         hidden="true"
  67.                         icontype="gmail"
  68.                         status="logged-out"
  69.                         onclick="gmanager_ToolbarClick.click(event);"
  70.                         ondraggesture="gmanager_ToolbarMove.initDrag(event);">
  71.                         
  72.             <menupopup position="after_start"
  73.                     onclick="event.stopPropagation();"
  74.                     onpopupshowing="return gmanager_ToolbarMenu.buildMenu(this);"/>
  75.                      
  76.             <tooltip noautohide="true"
  77.                     orient="vertical"
  78.                     position="after_start"
  79.                     onpopupshowing="return gmanager_ToolbarTooltip.buildTooltip(this);"/>
  80.         </statusbarpanel>
  81.     </statusbar>
  82. </overlay>